import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useCarRelevant = defineStore('carRelevant', () => {
  const visible = ref(false)
  function showDrawer() {
    visible.value = true
  }

  function closeDrawer() {
    visible.value = false
  }

  return {
    visible,
    showDrawer,
    closeDrawer
  }
})
